package com.feng.zhihao.demo.springbatch.dao;

import com.feng.zhihao.demo.springbatch.entity.BatchTask;
import com.feng.zhihao.demo.springbatch.entity.BatchTaskExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BatchTaskMapper {
    int countByExample(BatchTaskExample example);

    int deleteByExample(BatchTaskExample example);

    int deleteByPrimaryKey(String taskId);

    int insert(BatchTask record);

    int insertSelective(BatchTask record);

    List<BatchTask> selectByExample(BatchTaskExample example);

    BatchTask selectByPrimaryKey(String taskId);

    int updateByExampleSelective(@Param("record") BatchTask record, @Param("example") BatchTaskExample example);

    int updateByExample(@Param("record") BatchTask record, @Param("example") BatchTaskExample example);

    int updateByPrimaryKeySelective(BatchTask record);

    int updateByPrimaryKey(BatchTask record);
}